Optimal. Leaf size=61 \[ \frac {x}{2 d^2 \sqrt {d+e x^2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} x}{\sqrt {d+e x^2}}\right )}{2 \sqrt {2} d^2 \sqrt {e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {1164, 390, 385,
214} \begin {gather*} \frac {x}{2 d^2 \sqrt {d+e x^2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} x}{\sqrt {d+e x^2}}\right )}{2 \sqrt {2} d^2 \sqrt {e}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 385
Rule 390
Rule 1164
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {d+e x^2} \left (d^2-e^2 x^4\right )} \, dx &=\int \frac {1}{\left (d-e x^2\right ) \left (d+e x^2\right )^{3/2}} \, dx\\ &=\frac {x}{2 d^2 \sqrt {d+e x^2}}+\frac {\int \frac {1}{\left (d-e x^2\right ) \sqrt {d+e x^2}} \, dx}{2 d}\\ &=\frac {x}{2 d^2 \sqrt {d+e x^2}}+\frac {\text {Subst}\left (\int \frac {1}{d-2 d e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{2 d}\\ &=\frac {x}{2 d^2 \sqrt {d+e x^2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} x}{\sqrt {d+e x^2}}\right )}{2 \sqrt {2} d^2 \sqrt {e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 69, normalized size = 1.13 \begin {gather*} \frac {\frac {2 x}{\sqrt {d+e x^2}}+\frac {\sqrt {2} \tanh ^{-1}\left (\frac {d-e x^2+\sqrt {e} x \sqrt {d+e x^2}}{\sqrt {2} d}\right )}{\sqrt {e}}}{4 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(440\) vs.
\(2(45)=90\).
time = 0.24, size = 441, normalized size = 7.23
method | result | size |
default | \(\frac {\sqrt {e \left (x +\frac {\sqrt {-d e}}{e}\right )^{2}-2 \sqrt {-d e}\, \left (x +\frac {\sqrt {-d e}}{e}\right )}}{2 d \left (\sqrt {d e}-\sqrt {-d e}\right ) \left (\sqrt {d e}+\sqrt {-d e}\right ) \left (x +\frac {\sqrt {-d e}}{e}\right )}+\frac {e \sqrt {2}\, \ln \left (\frac {4 d +2 \sqrt {d e}\, \left (x -\frac {\sqrt {d e}}{e}\right )+2 \sqrt {2}\, \sqrt {d}\, \sqrt {e \left (x -\frac {\sqrt {d e}}{e}\right )^{2}+2 \sqrt {d e}\, \left (x -\frac {\sqrt {d e}}{e}\right )+2 d}}{x -\frac {\sqrt {d e}}{e}}\right )}{4 \left (\sqrt {d e}-\sqrt {-d e}\right ) \left (\sqrt {d e}+\sqrt {-d e}\right ) \sqrt {d e}\, \sqrt {d}}-\frac {e \sqrt {2}\, \ln \left (\frac {4 d -2 \sqrt {d e}\, \left (x +\frac {\sqrt {d e}}{e}\right )+2 \sqrt {2}\, \sqrt {d}\, \sqrt {e \left (x +\frac {\sqrt {d e}}{e}\right )^{2}-2 \sqrt {d e}\, \left (x +\frac {\sqrt {d e}}{e}\right )+2 d}}{x +\frac {\sqrt {d e}}{e}}\right )}{4 \left (\sqrt {d e}-\sqrt {-d e}\right ) \left (\sqrt {d e}+\sqrt {-d e}\right ) \sqrt {d e}\, \sqrt {d}}+\frac {\sqrt {e \left (x -\frac {\sqrt {-d e}}{e}\right )^{2}+2 \sqrt {-d e}\, \left (x -\frac {\sqrt {-d e}}{e}\right )}}{2 d \left (\sqrt {d e}-\sqrt {-d e}\right ) \left (\sqrt {d e}+\sqrt {-d e}\right ) \left (x -\frac {\sqrt {-d e}}{e}\right )}\) | \(441\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 119 vs.
\(2 (45) = 90\).
time = 0.34, size = 119, normalized size = 1.95 \begin {gather*} \frac {\sqrt {2} {\left (x^{2} e + d\right )} e^{\frac {1}{2}} \log \left (\frac {17 \, x^{4} e^{2} + 14 \, d x^{2} e + 4 \, \sqrt {2} {\left (3 \, x^{3} e + d x\right )} \sqrt {x^{2} e + d} e^{\frac {1}{2}} + d^{2}}{x^{4} e^{2} - 2 \, d x^{2} e + d^{2}}\right ) + 8 \, \sqrt {x^{2} e + d} x e}{16 \, {\left (d^{2} x^{2} e^{2} + d^{3} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {1}{- d^{2} \sqrt {d + e x^{2}} + e^{2} x^{4} \sqrt {d + e x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 101 vs.
\(2 (45) = 90\).
time = 3.21, size = 101, normalized size = 1.66 \begin {gather*} \frac {\sqrt {2} e^{\left (-\frac {1}{2}\right )} \log \left (\frac {{\left | 2 \, {\left (x e^{\frac {1}{2}} - \sqrt {x^{2} e + d}\right )}^{2} - 4 \, \sqrt {2} {\left | d \right |} - 6 \, d \right |}}{{\left | 2 \, {\left (x e^{\frac {1}{2}} - \sqrt {x^{2} e + d}\right )}^{2} + 4 \, \sqrt {2} {\left | d \right |} - 6 \, d \right |}}\right )}{8 \, d {\left | d \right |}} + \frac {x}{2 \, \sqrt {x^{2} e + d} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\left (d^2-e^2\,x^4\right )\,\sqrt {e\,x^2+d}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________